/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.action.authentication;

public class LogInAction {

//    private UserManagerDelegate userManagerDelegate = new UserManagerDelegate();
//
//    public LogInAction() {
//    }
//
//    public String execute() throws Exception {
//
//        System.out.println("LogInAction is called.");
//
//        User user = null;
//
//        user = userManagerDelegate.retrieveUser(1);
//
//        if (user instanceof Student) {
//            System.out.println("STUDENT");
//        } else if (user instanceof Lecture) {
//            System.out.println("LECTURE");
//        } else if (user instanceof Admin) {
//            System.out.println("Admin");
//        }
//
//
//        System.out.println("LogInAction - UserName: " + user.getName());
//        return "success";
//    }
}